//
//  LSPhotoViewModel.swift
//  新浪微博---01次
//
//  Created by 李宗帅 on 16/5/9.
//  Copyright © 2016年 LS. All rights reserved.
//

import UIKit

class LSPhotoViewModel: NSObject {
    
    var photo: LSPhoto?
    
    var thumbnail_pic:NSURL? {
        
        return NSURL(string: (photo?.thumbnail_pic)!)
    }
    
    //便利构造方法

    init(model: LSPhoto) {
        
        self.photo = model
        
        super.init()
    }
}
